{extend name="public/base"}
{block name='main'}
<fieldset class="layui-elem-field layui-field-title" style="margin-top:0px;">
    <legend>{$menuid|getmenuname}</legend>
</fieldset>
<form class="layui-form layui-form-pane" action="">
    <input type="hidden" name="menuid"  value="{//$menuid}"/>
    <div class="layui-form-item">
        <label class="layui-form-label">附件位置</label>
        <div class="layui-input-block">
            <input type="text" name="setting[attach_path]" placeholder="请输入" class="layui-input" value="{$web_config.attach_path}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">附件大小</label>
        <div class="layui-input-block">
            <input type="number" name="setting[attr_allow_size]" placeholder="请输入" class="layui-input" value="{$web_config.attr_allow_size}">
            <div class="layui-form-mid layui-word-aux">上传的最大文件大小。单位字节(kb), 1024kb = 1兆(mb)</div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">文档类型</label>
        <div class="layui-input-block">
            <input type="text" name="setting[doctype]" placeholder="请输入" class="layui-input" value="{$web_config.doctype}">
            <div class="layui-form-mid layui-word-aux">文档类型之间用;隔开,类型格式为*.doc</div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class=""></label>
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="upbtn">提交保存</button>
        </div>
    </div>
</form>
{include file='config/config_common'}
{/block}